home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CPrefsFile & Friends 1.0 / READ ME < prev    next >
Encoding:
Text File  |  1994-11-30  |  1.2 KB  |  31 lines  |  [TEXT/R*ch]

  1. Name: CPrefFile
  2. Version: 1.0
  3. Category: classes
  4. Contributor: Jamie McCarthy <k044477@kzoo.edu>
  5. Date: 92-04
  6. TCL-Version: 1.1.x
  7. TCL-Language: C
  8. Copyright: Copyright (C) 1992 by Jamie R. McCarthy. All rights reserved.
  9.  
  10. This Think C 5 object, which must be subclassed, makes storing data in
  11. the Preferences folder almost painless.  It requires the TCL.
  12.  
  13. CPrefsFile supports preferences stored in one (1) resource.  CPrefsFile
  14. takes care of the mundane stuff:  finding the Preferences folder and
  15. doing the opening, closing, reading, and writing from the file.  Your
  16. subclass has to help by overriding three methods, and you may want to
  17. write access methods to get at the resource.
  18.  
  19. Everything is extremely customizable.  I spent quite some time making
  20. the class as general as possible, and as override-able as possible.
  21. There are two sample subclasses distributed with CPrefsFile, COOPrefs
  22. and CGlobalPrefs.  There is a sample preferences resource and 'STR#'
  23. resource that could be used with either of them.
  24.  
  25. This code is (c) Copyright 1992 by James R. McCarthy.  All rights
  26. reserved.  It can be both distributed and used freely.
  27.  
  28. Internet: k044477@kzoo.edu        AppleLink: j.mccarthy
  29.  
  30. (This file must be converted with BinHex 4.0)
  31.